package com.TJGD.projectModule.pojo;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class pPersonConsleQuery {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    protected Integer pageNo = 1;

    protected Integer startRow;

    protected Integer pageSize = 10;

    protected String fields;

    public pPersonConsleQuery() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setPageNo(Integer pageNo) {
        this.pageNo=pageNo;
        this.startRow = (pageNo-1)*this.pageSize;
    }

    public Integer getPageNo() {
        return pageNo;
    }

    public void setStartRow(Integer startRow) {
        this.startRow=startRow;
    }

    public Integer getStartRow() {
        return startRow;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize=pageSize;
        this.startRow = (pageNo-1)*this.pageSize;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setFields(String fields) {
        this.fields=fields;
    }

    public String getFields() {
        return fields;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andPersonConsleIdIsNull() {
            addCriterion("person_consle_id is null");
            return (Criteria) this;
        }

        public Criteria andPersonConsleIdIsNotNull() {
            addCriterion("person_consle_id is not null");
            return (Criteria) this;
        }

        public Criteria andPersonConsleIdEqualTo(Integer value) {
            addCriterion("person_consle_id =", value, "personConsleId");
            return (Criteria) this;
        }

        public Criteria andPersonConsleIdNotEqualTo(Integer value) {
            addCriterion("person_consle_id <>", value, "personConsleId");
            return (Criteria) this;
        }

        public Criteria andPersonConsleIdGreaterThan(Integer value) {
            addCriterion("person_consle_id >", value, "personConsleId");
            return (Criteria) this;
        }

        public Criteria andPersonConsleIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("person_consle_id >=", value, "personConsleId");
            return (Criteria) this;
        }

        public Criteria andPersonConsleIdLessThan(Integer value) {
            addCriterion("person_consle_id <", value, "personConsleId");
            return (Criteria) this;
        }

        public Criteria andPersonConsleIdLessThanOrEqualTo(Integer value) {
            addCriterion("person_consle_id <=", value, "personConsleId");
            return (Criteria) this;
        }

        public Criteria andPersonConsleIdIn(List<Integer> values) {
            addCriterion("person_consle_id in", values, "personConsleId");
            return (Criteria) this;
        }

        public Criteria andPersonConsleIdNotIn(List<Integer> values) {
            addCriterion("person_consle_id not in", values, "personConsleId");
            return (Criteria) this;
        }

        public Criteria andPersonConsleIdBetween(Integer value1, Integer value2) {
            addCriterion("person_consle_id between", value1, value2, "personConsleId");
            return (Criteria) this;
        }

        public Criteria andPersonConsleIdNotBetween(Integer value1, Integer value2) {
            addCriterion("person_consle_id not between", value1, value2, "personConsleId");
            return (Criteria) this;
        }

        public Criteria andPidIsNull() {
            addCriterion("pid is null");
            return (Criteria) this;
        }

        public Criteria andPidIsNotNull() {
            addCriterion("pid is not null");
            return (Criteria) this;
        }

        public Criteria andPidEqualTo(Integer value) {
            addCriterion("pid =", value, "pid");
            return (Criteria) this;
        }

        public Criteria andPidNotEqualTo(Integer value) {
            addCriterion("pid <>", value, "pid");
            return (Criteria) this;
        }

        public Criteria andPidGreaterThan(Integer value) {
            addCriterion("pid >", value, "pid");
            return (Criteria) this;
        }

        public Criteria andPidGreaterThanOrEqualTo(Integer value) {
            addCriterion("pid >=", value, "pid");
            return (Criteria) this;
        }

        public Criteria andPidLessThan(Integer value) {
            addCriterion("pid <", value, "pid");
            return (Criteria) this;
        }

        public Criteria andPidLessThanOrEqualTo(Integer value) {
            addCriterion("pid <=", value, "pid");
            return (Criteria) this;
        }

        public Criteria andPidIn(List<Integer> values) {
            addCriterion("pid in", values, "pid");
            return (Criteria) this;
        }

        public Criteria andPidNotIn(List<Integer> values) {
            addCriterion("pid not in", values, "pid");
            return (Criteria) this;
        }

        public Criteria andPidBetween(Integer value1, Integer value2) {
            addCriterion("pid between", value1, value2, "pid");
            return (Criteria) this;
        }

        public Criteria andPidNotBetween(Integer value1, Integer value2) {
            addCriterion("pid not between", value1, value2, "pid");
            return (Criteria) this;
        }

        public Criteria andPnameIsNull() {
            addCriterion("pname is null");
            return (Criteria) this;
        }

        public Criteria andPnameIsNotNull() {
            addCriterion("pname is not null");
            return (Criteria) this;
        }

        public Criteria andPnameEqualTo(String value) {
            addCriterion("pname =", value, "pname");
            return (Criteria) this;
        }

        public Criteria andPnameNotEqualTo(String value) {
            addCriterion("pname <>", value, "pname");
            return (Criteria) this;
        }

        public Criteria andPnameGreaterThan(String value) {
            addCriterion("pname >", value, "pname");
            return (Criteria) this;
        }

        public Criteria andPnameGreaterThanOrEqualTo(String value) {
            addCriterion("pname >=", value, "pname");
            return (Criteria) this;
        }

        public Criteria andPnameLessThan(String value) {
            addCriterion("pname <", value, "pname");
            return (Criteria) this;
        }

        public Criteria andPnameLessThanOrEqualTo(String value) {
            addCriterion("pname <=", value, "pname");
            return (Criteria) this;
        }

        public Criteria andPnameLike(String value) {
            addCriterion("pname like", value, "pname");
            return (Criteria) this;
        }

        public Criteria andPnameNotLike(String value) {
            addCriterion("pname not like", value, "pname");
            return (Criteria) this;
        }

        public Criteria andPnameIn(List<String> values) {
            addCriterion("pname in", values, "pname");
            return (Criteria) this;
        }

        public Criteria andPnameNotIn(List<String> values) {
            addCriterion("pname not in", values, "pname");
            return (Criteria) this;
        }

        public Criteria andPnameBetween(String value1, String value2) {
            addCriterion("pname between", value1, value2, "pname");
            return (Criteria) this;
        }

        public Criteria andPnameNotBetween(String value1, String value2) {
            addCriterion("pname not between", value1, value2, "pname");
            return (Criteria) this;
        }

        public Criteria andPhumanIsNull() {
            addCriterion("phuman is null");
            return (Criteria) this;
        }

        public Criteria andPhumanIsNotNull() {
            addCriterion("phuman is not null");
            return (Criteria) this;
        }

        public Criteria andPhumanEqualTo(String value) {
            addCriterion("phuman =", value, "phuman");
            return (Criteria) this;
        }

        public Criteria andPhumanNotEqualTo(String value) {
            addCriterion("phuman <>", value, "phuman");
            return (Criteria) this;
        }

        public Criteria andPhumanGreaterThan(String value) {
            addCriterion("phuman >", value, "phuman");
            return (Criteria) this;
        }

        public Criteria andPhumanGreaterThanOrEqualTo(String value) {
            addCriterion("phuman >=", value, "phuman");
            return (Criteria) this;
        }

        public Criteria andPhumanLessThan(String value) {
            addCriterion("phuman <", value, "phuman");
            return (Criteria) this;
        }

        public Criteria andPhumanLessThanOrEqualTo(String value) {
            addCriterion("phuman <=", value, "phuman");
            return (Criteria) this;
        }

        public Criteria andPhumanLike(String value) {
            addCriterion("phuman like", value, "phuman");
            return (Criteria) this;
        }

        public Criteria andPhumanNotLike(String value) {
            addCriterion("phuman not like", value, "phuman");
            return (Criteria) this;
        }

        public Criteria andPhumanIn(List<String> values) {
            addCriterion("phuman in", values, "phuman");
            return (Criteria) this;
        }

        public Criteria andPhumanNotIn(List<String> values) {
            addCriterion("phuman not in", values, "phuman");
            return (Criteria) this;
        }

        public Criteria andPhumanBetween(String value1, String value2) {
            addCriterion("phuman between", value1, value2, "phuman");
            return (Criteria) this;
        }

        public Criteria andPhumanNotBetween(String value1, String value2) {
            addCriterion("phuman not between", value1, value2, "phuman");
            return (Criteria) this;
        }

        public Criteria andStartTimeIsNull() {
            addCriterion("start_time is null");
            return (Criteria) this;
        }

        public Criteria andStartTimeIsNotNull() {
            addCriterion("start_time is not null");
            return (Criteria) this;
        }

        public Criteria andStartTimeEqualTo(Date value) {
            addCriterion("start_time =", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeNotEqualTo(Date value) {
            addCriterion("start_time <>", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeGreaterThan(Date value) {
            addCriterion("start_time >", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("start_time >=", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeLessThan(Date value) {
            addCriterion("start_time <", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeLessThanOrEqualTo(Date value) {
            addCriterion("start_time <=", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeIn(List<Date> values) {
            addCriterion("start_time in", values, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeNotIn(List<Date> values) {
            addCriterion("start_time not in", values, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeBetween(Date value1, Date value2) {
            addCriterion("start_time between", value1, value2, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeNotBetween(Date value1, Date value2) {
            addCriterion("start_time not between", value1, value2, "startTime");
            return (Criteria) this;
        }

        public Criteria andPlanEndTimeIsNull() {
            addCriterion("plan_end_time is null");
            return (Criteria) this;
        }

        public Criteria andPlanEndTimeIsNotNull() {
            addCriterion("plan_end_time is not null");
            return (Criteria) this;
        }

        public Criteria andPlanEndTimeEqualTo(Date value) {
            addCriterion("plan_end_time =", value, "planEndTime");
            return (Criteria) this;
        }

        public Criteria andPlanEndTimeNotEqualTo(Date value) {
            addCriterion("plan_end_time <>", value, "planEndTime");
            return (Criteria) this;
        }

        public Criteria andPlanEndTimeGreaterThan(Date value) {
            addCriterion("plan_end_time >", value, "planEndTime");
            return (Criteria) this;
        }

        public Criteria andPlanEndTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("plan_end_time >=", value, "planEndTime");
            return (Criteria) this;
        }

        public Criteria andPlanEndTimeLessThan(Date value) {
            addCriterion("plan_end_time <", value, "planEndTime");
            return (Criteria) this;
        }

        public Criteria andPlanEndTimeLessThanOrEqualTo(Date value) {
            addCriterion("plan_end_time <=", value, "planEndTime");
            return (Criteria) this;
        }

        public Criteria andPlanEndTimeIn(List<Date> values) {
            addCriterion("plan_end_time in", values, "planEndTime");
            return (Criteria) this;
        }

        public Criteria andPlanEndTimeNotIn(List<Date> values) {
            addCriterion("plan_end_time not in", values, "planEndTime");
            return (Criteria) this;
        }

        public Criteria andPlanEndTimeBetween(Date value1, Date value2) {
            addCriterion("plan_end_time between", value1, value2, "planEndTime");
            return (Criteria) this;
        }

        public Criteria andPlanEndTimeNotBetween(Date value1, Date value2) {
            addCriterion("plan_end_time not between", value1, value2, "planEndTime");
            return (Criteria) this;
        }

        public Criteria andContractMoneyIsNull() {
            addCriterion("contract_money is null");
            return (Criteria) this;
        }

        public Criteria andContractMoneyIsNotNull() {
            addCriterion("contract_money is not null");
            return (Criteria) this;
        }

        public Criteria andContractMoneyEqualTo(Double value) {
            addCriterion("contract_money =", value, "contractMoney");
            return (Criteria) this;
        }

        public Criteria andContractMoneyNotEqualTo(Double value) {
            addCriterion("contract_money <>", value, "contractMoney");
            return (Criteria) this;
        }

        public Criteria andContractMoneyGreaterThan(Double value) {
            addCriterion("contract_money >", value, "contractMoney");
            return (Criteria) this;
        }

        public Criteria andContractMoneyGreaterThanOrEqualTo(Double value) {
            addCriterion("contract_money >=", value, "contractMoney");
            return (Criteria) this;
        }

        public Criteria andContractMoneyLessThan(Double value) {
            addCriterion("contract_money <", value, "contractMoney");
            return (Criteria) this;
        }

        public Criteria andContractMoneyLessThanOrEqualTo(Double value) {
            addCriterion("contract_money <=", value, "contractMoney");
            return (Criteria) this;
        }

        public Criteria andContractMoneyIn(List<Double> values) {
            addCriterion("contract_money in", values, "contractMoney");
            return (Criteria) this;
        }

        public Criteria andContractMoneyNotIn(List<Double> values) {
            addCriterion("contract_money not in", values, "contractMoney");
            return (Criteria) this;
        }

        public Criteria andContractMoneyBetween(Double value1, Double value2) {
            addCriterion("contract_money between", value1, value2, "contractMoney");
            return (Criteria) this;
        }

        public Criteria andContractMoneyNotBetween(Double value1, Double value2) {
            addCriterion("contract_money not between", value1, value2, "contractMoney");
            return (Criteria) this;
        }

        public Criteria andCurInputPersonMonthIsNull() {
            addCriterion("cur_input_person_month is null");
            return (Criteria) this;
        }

        public Criteria andCurInputPersonMonthIsNotNull() {
            addCriterion("cur_input_person_month is not null");
            return (Criteria) this;
        }

        public Criteria andCurInputPersonMonthEqualTo(Float value) {
            addCriterion("cur_input_person_month =", value, "curInputPersonMonth");
            return (Criteria) this;
        }

        public Criteria andCurInputPersonMonthNotEqualTo(Float value) {
            addCriterion("cur_input_person_month <>", value, "curInputPersonMonth");
            return (Criteria) this;
        }

        public Criteria andCurInputPersonMonthGreaterThan(Float value) {
            addCriterion("cur_input_person_month >", value, "curInputPersonMonth");
            return (Criteria) this;
        }

        public Criteria andCurInputPersonMonthGreaterThanOrEqualTo(Float value) {
            addCriterion("cur_input_person_month >=", value, "curInputPersonMonth");
            return (Criteria) this;
        }

        public Criteria andCurInputPersonMonthLessThan(Float value) {
            addCriterion("cur_input_person_month <", value, "curInputPersonMonth");
            return (Criteria) this;
        }

        public Criteria andCurInputPersonMonthLessThanOrEqualTo(Float value) {
            addCriterion("cur_input_person_month <=", value, "curInputPersonMonth");
            return (Criteria) this;
        }

        public Criteria andCurInputPersonMonthIn(List<Float> values) {
            addCriterion("cur_input_person_month in", values, "curInputPersonMonth");
            return (Criteria) this;
        }

        public Criteria andCurInputPersonMonthNotIn(List<Float> values) {
            addCriterion("cur_input_person_month not in", values, "curInputPersonMonth");
            return (Criteria) this;
        }

        public Criteria andCurInputPersonMonthBetween(Float value1, Float value2) {
            addCriterion("cur_input_person_month between", value1, value2, "curInputPersonMonth");
            return (Criteria) this;
        }

        public Criteria andCurInputPersonMonthNotBetween(Float value1, Float value2) {
            addCriterion("cur_input_person_month not between", value1, value2, "curInputPersonMonth");
            return (Criteria) this;
        }

        public Criteria andCommitPersonMonthIsNull() {
            addCriterion("commit_person_month is null");
            return (Criteria) this;
        }

        public Criteria andCommitPersonMonthIsNotNull() {
            addCriterion("commit_person_month is not null");
            return (Criteria) this;
        }

        public Criteria andCommitPersonMonthEqualTo(Float value) {
            addCriterion("commit_person_month =", value, "commitPersonMonth");
            return (Criteria) this;
        }

        public Criteria andCommitPersonMonthNotEqualTo(Float value) {
            addCriterion("commit_person_month <>", value, "commitPersonMonth");
            return (Criteria) this;
        }

        public Criteria andCommitPersonMonthGreaterThan(Float value) {
            addCriterion("commit_person_month >", value, "commitPersonMonth");
            return (Criteria) this;
        }

        public Criteria andCommitPersonMonthGreaterThanOrEqualTo(Float value) {
            addCriterion("commit_person_month >=", value, "commitPersonMonth");
            return (Criteria) this;
        }

        public Criteria andCommitPersonMonthLessThan(Float value) {
            addCriterion("commit_person_month <", value, "commitPersonMonth");
            return (Criteria) this;
        }

        public Criteria andCommitPersonMonthLessThanOrEqualTo(Float value) {
            addCriterion("commit_person_month <=", value, "commitPersonMonth");
            return (Criteria) this;
        }

        public Criteria andCommitPersonMonthIn(List<Float> values) {
            addCriterion("commit_person_month in", values, "commitPersonMonth");
            return (Criteria) this;
        }

        public Criteria andCommitPersonMonthNotIn(List<Float> values) {
            addCriterion("commit_person_month not in", values, "commitPersonMonth");
            return (Criteria) this;
        }

        public Criteria andCommitPersonMonthBetween(Float value1, Float value2) {
            addCriterion("commit_person_month between", value1, value2, "commitPersonMonth");
            return (Criteria) this;
        }

        public Criteria andCommitPersonMonthNotBetween(Float value1, Float value2) {
            addCriterion("commit_person_month not between", value1, value2, "commitPersonMonth");
            return (Criteria) this;
        }

        public Criteria andCurPersonsIsNull() {
            addCriterion("cur_persons is null");
            return (Criteria) this;
        }

        public Criteria andCurPersonsIsNotNull() {
            addCriterion("cur_persons is not null");
            return (Criteria) this;
        }

        public Criteria andCurPersonsEqualTo(String value) {
            addCriterion("cur_persons =", value, "curPersons");
            return (Criteria) this;
        }

        public Criteria andCurPersonsNotEqualTo(String value) {
            addCriterion("cur_persons <>", value, "curPersons");
            return (Criteria) this;
        }

        public Criteria andCurPersonsGreaterThan(String value) {
            addCriterion("cur_persons >", value, "curPersons");
            return (Criteria) this;
        }

        public Criteria andCurPersonsGreaterThanOrEqualTo(String value) {
            addCriterion("cur_persons >=", value, "curPersons");
            return (Criteria) this;
        }

        public Criteria andCurPersonsLessThan(String value) {
            addCriterion("cur_persons <", value, "curPersons");
            return (Criteria) this;
        }

        public Criteria andCurPersonsLessThanOrEqualTo(String value) {
            addCriterion("cur_persons <=", value, "curPersons");
            return (Criteria) this;
        }

        public Criteria andCurPersonsLike(String value) {
            addCriterion("cur_persons like", value, "curPersons");
            return (Criteria) this;
        }

        public Criteria andCurPersonsNotLike(String value) {
            addCriterion("cur_persons not like", value, "curPersons");
            return (Criteria) this;
        }

        public Criteria andCurPersonsIn(List<String> values) {
            addCriterion("cur_persons in", values, "curPersons");
            return (Criteria) this;
        }

        public Criteria andCurPersonsNotIn(List<String> values) {
            addCriterion("cur_persons not in", values, "curPersons");
            return (Criteria) this;
        }

        public Criteria andCurPersonsBetween(String value1, String value2) {
            addCriterion("cur_persons between", value1, value2, "curPersons");
            return (Criteria) this;
        }

        public Criteria andCurPersonsNotBetween(String value1, String value2) {
            addCriterion("cur_persons not between", value1, value2, "curPersons");
            return (Criteria) this;
        }

        public Criteria andWorkSaturationIsNull() {
            addCriterion("work_saturation is null");
            return (Criteria) this;
        }

        public Criteria andWorkSaturationIsNotNull() {
            addCriterion("work_saturation is not null");
            return (Criteria) this;
        }

        public Criteria andWorkSaturationEqualTo(Float value) {
            addCriterion("work_saturation =", value, "workSaturation");
            return (Criteria) this;
        }

        public Criteria andWorkSaturationNotEqualTo(Float value) {
            addCriterion("work_saturation <>", value, "workSaturation");
            return (Criteria) this;
        }

        public Criteria andWorkSaturationGreaterThan(Float value) {
            addCriterion("work_saturation >", value, "workSaturation");
            return (Criteria) this;
        }

        public Criteria andWorkSaturationGreaterThanOrEqualTo(Float value) {
            addCriterion("work_saturation >=", value, "workSaturation");
            return (Criteria) this;
        }

        public Criteria andWorkSaturationLessThan(Float value) {
            addCriterion("work_saturation <", value, "workSaturation");
            return (Criteria) this;
        }

        public Criteria andWorkSaturationLessThanOrEqualTo(Float value) {
            addCriterion("work_saturation <=", value, "workSaturation");
            return (Criteria) this;
        }

        public Criteria andWorkSaturationIn(List<Float> values) {
            addCriterion("work_saturation in", values, "workSaturation");
            return (Criteria) this;
        }

        public Criteria andWorkSaturationNotIn(List<Float> values) {
            addCriterion("work_saturation not in", values, "workSaturation");
            return (Criteria) this;
        }

        public Criteria andWorkSaturationBetween(Float value1, Float value2) {
            addCriterion("work_saturation between", value1, value2, "workSaturation");
            return (Criteria) this;
        }

        public Criteria andWorkSaturationNotBetween(Float value1, Float value2) {
            addCriterion("work_saturation not between", value1, value2, "workSaturation");
            return (Criteria) this;
        }

        public Criteria andPersonDispSuggestionIsNull() {
            addCriterion("person_disp_suggestion is null");
            return (Criteria) this;
        }

        public Criteria andPersonDispSuggestionIsNotNull() {
            addCriterion("person_disp_suggestion is not null");
            return (Criteria) this;
        }

        public Criteria andPersonDispSuggestionEqualTo(String value) {
            addCriterion("person_disp_suggestion =", value, "personDispSuggestion");
            return (Criteria) this;
        }

        public Criteria andPersonDispSuggestionNotEqualTo(String value) {
            addCriterion("person_disp_suggestion <>", value, "personDispSuggestion");
            return (Criteria) this;
        }

        public Criteria andPersonDispSuggestionGreaterThan(String value) {
            addCriterion("person_disp_suggestion >", value, "personDispSuggestion");
            return (Criteria) this;
        }

        public Criteria andPersonDispSuggestionGreaterThanOrEqualTo(String value) {
            addCriterion("person_disp_suggestion >=", value, "personDispSuggestion");
            return (Criteria) this;
        }

        public Criteria andPersonDispSuggestionLessThan(String value) {
            addCriterion("person_disp_suggestion <", value, "personDispSuggestion");
            return (Criteria) this;
        }

        public Criteria andPersonDispSuggestionLessThanOrEqualTo(String value) {
            addCriterion("person_disp_suggestion <=", value, "personDispSuggestion");
            return (Criteria) this;
        }

        public Criteria andPersonDispSuggestionLike(String value) {
            addCriterion("person_disp_suggestion like", value, "personDispSuggestion");
            return (Criteria) this;
        }

        public Criteria andPersonDispSuggestionNotLike(String value) {
            addCriterion("person_disp_suggestion not like", value, "personDispSuggestion");
            return (Criteria) this;
        }

        public Criteria andPersonDispSuggestionIn(List<String> values) {
            addCriterion("person_disp_suggestion in", values, "personDispSuggestion");
            return (Criteria) this;
        }

        public Criteria andPersonDispSuggestionNotIn(List<String> values) {
            addCriterion("person_disp_suggestion not in", values, "personDispSuggestion");
            return (Criteria) this;
        }

        public Criteria andPersonDispSuggestionBetween(String value1, String value2) {
            addCriterion("person_disp_suggestion between", value1, value2, "personDispSuggestion");
            return (Criteria) this;
        }

        public Criteria andPersonDispSuggestionNotBetween(String value1, String value2) {
            addCriterion("person_disp_suggestion not between", value1, value2, "personDispSuggestion");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}